<?php
// +----------------------------------------------------------------------
// | ManniuRead
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://manniuyun.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: heitao <read@manniuyun.com>
// +----------------------------------------------------------------------

namespace app\admin\model;

use manniu\model\Base;

class Site extends Base
{
	// 站点配置 - 获取器
    protected function getSettingAttr($value) {
        return mn_string2array($value);
    }
    // 站点配置 - 修改器
    protected function setSettingAttr($value) {
        return mn_array2string($value);
    }
}